package org.arnetminer.personalized.service;

import java.util.List;

import org.arnetminer.personalized.util.Page;
import org.arnetminer.personalized.vo.Organization;
import org.arnetminer.personalized.vo.Source;
import org.arnetminer.personalized.vo.User;

public interface UserService {
	public boolean isExist(User user);
	public boolean save(User user);
	public boolean validate(User user);
	public User findUserById(long id);
	public User findUserByEmail(String email);
	public Organization getOrganization(String orgName);
	public int getCountByLikProperties(List properties, List values);
	public List searchUserByKeywords(List properties, List values, Page page);
	public Source getSource(long id);
	public List autoComplete(String name);
}
